#ifndef CompileOnline

#include "header.cpp"

#endif

void Test1()
{
    std::vector<int> v = {1,2,3,4,5,6,7,8,9,34,55,66,77};
    Solution s;
    int ret = s.findMax(v);
    if(ret == 77)
    {
        std::cout << "Test1 ok!" << std::endl;
    }
    else
    {
        std::cout << "Test2 fail..." << std::endl;
    }
}

void Test2()
{
    std::vector<int> v = {555, 2, 999, 4, 65535, 6, -88, 8, 9, 34, 55, 66, 77};
    Solution s;
    int ret = s.findMax(v);
    if (ret == 65535)
    {
        std::cout << "Test1 ok!" << std::endl;
    }
    else
    {
        std::cout << "Test2 fail..." << std::endl;
    }
}

int main()
{
    Test1();
    Test2();
    return 0;
}